package com.angus.eduservice.client;

import com.angus.commonutils.R;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Description :删除视频出错之后执行（兜底方法
 * Created by Angus on 2022/9/13 9:39
 */
@Component
public class VodFileDegradeFeignClient implements VodClient{

    @Override
    public R removeAlyVideo(String id) {
        return R.error().message("删除视频出错了喔┭┮﹏┭┮");
    }

    @Override
    public R deleteBatch(List<String> videoIdList) {
        return R.error().message("删除多个视频出错了喔┭┮﹏┭┮");
    }
}
